﻿@{
    ViewBag.Title = "批发市场管理";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script src="../../Scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
<link href="../../Scripts/zTree-3.5/css/zTreeStyle/zTreeStyle.css" rel="stylesheet"
    type="text/css" />
<script src="../../Scripts/zTree-3.5/js/jquery.ztree.all-3.5.min.js" type="text/javascript"></script>
<script type="text/javascript">
    var setting = {
        data: {
            simpleData: {
                enable: true
            }
        }
    };

    var zNodes = @MvcHtmlString.Create(ViewData["jsonData"].ToString());
    
    $(document).ready(function(){
			$.fn.zTree.init($("#jdTree"), setting, zNodes);
		});

</script>
<div class="right_box_card">
    <ul>
        <li class="right_box_card1"><a href="@Url.Action("UserJdTree", "Users")">批发市场管理</a></li> 
    </ul>
</div>
<table width="100%">
    <tr>
        <td style="width: 35%; vertical-align: top;">
            <ul id="jdTree" class="ztree">
            </ul>
        </td>
        <td>
            <iframe width="100%" height="600" id="userDetail" name="userDetail" frameborder="0">
            </iframe>
        </td>
    </tr>
</table>
